﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="board2.aspx.cs" Inherits="MQC.board2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body style="margin:0;padding:0">
    <form id="form1" runat="server">
<style>
.gird{
    margin:auto;
    border:none;
}
.gird1{
    width:180px;
    height:30px;
    border-left:none;
    border-right:none;
}
.gird3{
    width:130px;
    height:30px;
    border-left:none;
    border-right:none;
}
.gird2{
    width:130px;
    height:30px;
    border-left:none;
    border-right:none;
    text-align:center;
}
.border1{
    border-left:solid 1px;
}
.tab-stacked1{
    padding-top: 10px;
    padding-left: 0px;
}
.red{
    background-color:#f45286;
}
.yellow{
    background-color:#f4bb52;
}
.green{
    background-color:#52f4bb;
}
.blue{
    background-color:#528bf4;
}
.hide{
    display:none;
}
.divimg{
    float:left;
    height:50px;
}
.divp{
    height:50px;
}
.font{
    font-size:30px;
    font-family:'Microsoft YaHei';
    margin:0;
    padding:0;
    padding-top:10px;
    letter-spacing:5px;
}
</style>
    
    <div style="margin-top:0">
        <div class="divimg">
            <img src="images/VICO.png"  height="50" />
        </div>
        <div class="divp">
            <p class="font">上模检验跟踪表</p>
        </div>
    </div>
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div class="tab-stacked1">
        

    <asp:Timer ID="Timer" Interval="30000" runat="server"/>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"> 
        <ContentTemplate>
            <asp:GridView ID="GridView1" CssClass="gird" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="Machine" HeaderText="机台号" >
                    <HeaderStyle Wrap="False" CssClass="gird3"  HorizontalAlign="Left" />
                    <ItemStyle Wrap="False" CssClass="gird3" HorizontalAlign="Left"/>
                </asp:BoundField>
                <asp:BoundField HeaderText="Sap号" DataField="Maktx">
                    <HeaderStyle Wrap="False" CssClass="gird1" HorizontalAlign="Left"/>
                    <ItemStyle Wrap="False" CssClass="gird1"/>
                </asp:BoundField>
                <asp:BoundField HeaderText="模具号" DataField="Mold">
                    <HeaderStyle Wrap="False"  CssClass="gird3" HorizontalAlign="Left"/>
                    <ItemStyle Wrap="False"  CssClass="gird3"/>
                </asp:BoundField>
                <asp:BoundField HeaderText="待检" DataField="Wait">
                    <HeaderStyle Wrap="False"  CssClass="gird2" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField HeaderText="检验" DataField="Start">
                    <HeaderStyle Wrap="False"  CssClass="gird2" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField HeaderText="不良" DataField="Back">
                    <HeaderStyle Wrap="False"  CssClass="gird2" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField HeaderText="完成" DataField="Ok">
                    <HeaderStyle Wrap="False"  CssClass="gird2" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField DataField="AllowProduce" HeaderText="允许生产">
                    <HeaderStyle Wrap="False"  CssClass="border1 gird2 " HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass=" border1 gird2 " HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField DataField="ChangeDate" HeaderText="最后更新时间">
                    <HeaderStyle Wrap="False" CssClass="gird2" />
                    <ItemStyle Wrap="False" CssClass="gird2"/>
                </asp:BoundField>
                <asp:BoundField DataField="FAWait" HeaderText="FA待检">
                    <HeaderStyle Wrap="False"  CssClass="gird2 border1" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2 border1" HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField DataField="FAStart" HeaderText="FA检验">
                    <HeaderStyle Wrap="False"  CssClass="gird2" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField DataField="FABack" HeaderText="FA不良">
                    <HeaderStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField DataField="FAOk" HeaderText="FA完成">
                    <HeaderStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                </asp:BoundField>
                <asp:BoundField DataField="FAChangeDate" HeaderText="FA最后更新时间">
                    <HeaderStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                    <ItemStyle Wrap="False" CssClass="gird2" HorizontalAlign="Center"/>
                </asp:BoundField>
            </Columns>
            </asp:GridView>
            <audio id="Sound1" class="hide" runat="server"></audio>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="Timer" EventName="Tick" />
        </Triggers>              
    </asp:UpdatePanel>
     
    </div>  
    </form>
</body>
</html>
